﻿@model ITProject.WebUI.Models.Message.MessageShowViewModel

@{
    ViewBag.Title = "Show";
}

<h2>Show</h2>

<fieldset>
<table class="inbox">
<tr>
<td class="label">Temat: </td>
<td class="edit">
        @Html.DisplayFor(model => model.Subject)
</td>
</tr>
<tr>
<td class="label">Data: </td>
<td class="edit">
        @Html.DisplayFor(model => model.DateOfSend)
</td>
</tr>
<tr>
<td class="label">Od: </td>
<td class="edit">

        @Html.DisplayFor(model => model.Sender)
        </td>
</tr>
<tr>
<td class="label">Treść: </td>
<td class="edit">
    @Html.Raw(Model.Text)
        </td>
</tr>

</table>
</fieldset>
<p>
    @Html.ActionLink("Wróć do skrzynki",MVC.Message.ActionNames.Inbox)
</p>
